<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Vue使用数据代理</title>
    <script type="text/javascript" src="../../../public/vue.js"></script>
</head>
<body>

<div id="root">
    <h1>学校名称：{{ name }}</h1>
    <h1>学校地址：{{ address }}</h1>
    <h1></h1>
</div>
</body>
<script type="text/javascript">

    Vue.config.productionTip = false

    const vm = new Vue({
        el: '#root',
        data: {
            name: '张三',
            address: '讲讲路'
        }
    })
</script>
</html>